﻿<Window x:Class="MTSGui.Update"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Updates available" Width="380" SizeToContent="Height" WindowStartupLocation="CenterScreen"  Icon="/mts-gui;component/Images/mcreeper.png"
        ResizeMode="CanMinimize">
    <Grid>
        <StackPanel Name="OuterStack">
            <StackPanel Name="InfoStack">
                <TextBlock Name="UpdateTitle" FontSize="16" Text="An update is available for MTS" Margin="10,6,8,6" />
                <TextBlock Name="UpdateText" Text="Retrieving information..." Margin="10,0,8,6" TextWrapping="Wrap" />
            </StackPanel>
            
            <Grid Name="UpdateOptions">
                <Button Name="UpdateLater" Content="Later" HorizontalAlignment="Left" Padding="12,4,12,4" Margin="6,6,0,6" IsCancel="True" />
                <Button Name="UpdateNow" Content="Download from CodePlex" Click="OpenDownload" HorizontalAlignment="Right" Padding="12,4,12,4" Margin="0,6,6,6" />
            </Grid>
            
        </StackPanel>
    </Grid>
</Window>
